package com.hexanet.bom;

import java.util.Date;
import java.util.List;
import java.util.Set;

public class Cell {
    
    private Long id;
    
    private String name;
    
    private Location location;
    
    private Boolean homebase;
    
    private Boolean generated;

    private Player player;
    
    private Integer savedEnergy;
    
    private Date savedEnergyUpdated;
    
    private Date validUntil;
    
    private Integer level;
    
    private Integer producesEnergyBrutto;
    
    private Integer producesEnergyNetto;
    
    private Firewall firewall;
    
    private Set<Server> servers;
    
    public Firewall getFirewall() {
        return firewall;
    }

    public void setFirewall(Firewall firewall) {
        this.firewall = firewall;
    }

    
    public Set<Server> getServers() {
        return servers;
    }

    public void setServers(Set<Server> servers) {
        this.servers = servers;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public boolean isHomebase() {
        return homebase;
    }

    public void setHomebase(boolean homebase) {
        this.homebase = homebase;
    }

    public Player getPlayer() {
        return player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    public boolean isGenerated() {
        return generated;
    }

    public void setGenerated(boolean generated) {
        this.generated = generated;
    }

    public Integer getSavedEnergy() {
        return savedEnergy;
    }

    public void setSavedEnergy(Integer savedEnergy) {
        this.savedEnergy = savedEnergy;
    }

    public Date getSavedEnergyUpdated() {
	return savedEnergyUpdated;
    }

    public void setSavedEnergyUpdated(Date savedEnergyUpdated) {
	this.savedEnergyUpdated = savedEnergyUpdated;
    }

    public Integer getLevel() {
	return level;
    }

    public void setLevel(Integer level) {
	this.level = level;
    }

    public Integer getProducesEnergyBrutto() {
	return producesEnergyBrutto;
    }

    public void setProducesEnergyBrutto(Integer produdesEnergyBrutto) {
	this.producesEnergyBrutto = produdesEnergyBrutto;
    }

    public Integer getProducesEnergyNetto() {
	return producesEnergyNetto;
    }

    public void setProducesEnergyNetto(Integer producesEnergyNetto) {
	this.producesEnergyNetto = producesEnergyNetto;
    }

    public Date getValidUntil() {
	return validUntil;
    }

    public void setValidUntil(Date validUntil) {
	this.validUntil = validUntil;
    }    

}
